import java.util.Scanner;

public class java0915 {
    public static void main3(String[] args) {
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <=i ; j++) {
                System.out.print(j+"*"+i+"="+i*j+" ");
            }
            System.out.println();
        }
    }
    public static void main2(String[] args) {

        for (int women = 1; women <= 30; women++) {
            for (int man = 1; man <= 30; man++) {
                int boy = 30-women-man;
                if ((3*women+2*man+boy == 50)){
                    System.out.print("女人:"+women);
                    System.out.print("男人:"+man);
                    System.out.print("男孩:"+boy);
                    System.out.println();
                }
            }

        }
    }
    public static void main1(String[] args) {
        int d=(int)(Math.random()*100);
        System.out.println(d);
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入>");
        while (scanner.hasNext()){
            int x = scanner.nextInt();
            if (x == d){
                System.out.println("猜对了!");
                break;
            }else if (x < d){
                System.out.println("猜小了!");
            }else {
                System.out.println("猜大了!");

            }
            System.out.print("请输入>");

        }
    }

}
